#ifndef XX_COMMON_HOOK_H_
#define XX_COMMON_HOOK_H_

#include "Def.h"

struct BrigeCode{
    PBYTE orig_addr;
	PBYTE new_addr;
	std::string code;
};

EXPORT_API PBYTE skip_jmp(PBYTE func);
EXPORT_API DWORD round_times(DWORD orig, DWORD times);
EXPORT_API PBYTE alloc_virtual_addr(const PBYTE addr);

#endif